package cn.tedu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
//@RequestMapping("/fy")
public class PageController {

    @RequestMapping("/index")
    public String toStarter(){
        return "starter";
    }

    @RequestMapping("/login")
    public String toLogin(){
        return "login";
    }

    @RequestMapping("/{modul}/{path}")
    public String toPage(@PathVariable String path){
        return "sys/"+path;
    }


}
